package think.in.java.concurrency.practise.exec7;

import java.util.Random;

/**
 * Created by IntelliJ IDEA.
 * User: Richard
 * Date: 6/15/11
 * Time: 10:39 PM
 * To change this template use File | Settings | File Templates.
 */
public class ThreadLocalImpl extends ThreadLocal<Integer>{
    private static Random random = new Random(47);
    @Override
    protected Integer initialValue() {
        return random.nextInt(10000);
    }
}
